// 详情descriptions组件样式
.el-descriptions__body .el-descriptions__table .el-descriptions__cell {
  font-size: 14px;
}

.el-descriptions__content.el-descriptions__cell.is-bordered-content {
  color: #606266 !important;
}
.el-descriptions__label.el-descriptions__cell.is-bordered-label {
  font-weight: 400 !important;
}
// 详情页左侧tab样式
.form-container .tab-content {
  flex: 0 0 180px !important;
  overflow: auto;
  max-height: 600px;
}

.cascader-hide-radio {
  .el-cascader-panel {
    .el-radio {
      display: none;
    }
  }
}

.form-container {
  padding: 10px;
  width: calc(100% - 260px) !important;
  display: flex;
  background-color: #fff;
  .tab-header {
    position: absolute;
    top: 20px;
    right: 20px;
    div {
      width: 180px;
      display: flex;
      justify-content: space-between;
    }
  }
  .tab-content {
    width: 180px !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    color: #333 !important;
    overflow: auto;
    max-height: 600px;
    .tab-item {
      height: 50px !important;
      line-height: 50px !important;
      font-size: 14px !important;
      text-align: center !important;
      border: 1px solid#DCDFE6 !important;
      cursor: pointer !important;
      & + .tab-item {
        border-top: none !important;
      }
      &.active {
        font-weight: bold !important;
        color: #fff !important;
        background: #409eff !important;
        border-color: #409eff !important;
      }
    }
  }
  .btns {
    position: fixed !important;
    top: 122px !important;
    right: 30px !important;
    z-index: 100 !important;
  }
}

// 适用有左侧tab的详情页
.detail-container.form-container {
  padding: 20px 10px 20px 20px !important;
  height: calc(100% - 40px) !important;
  width: calc(100% - 30px) !important;
  position: relative !important;
  // overflow: hidden;
  // overflow: auto;
  .tab-content {
    padding: 0px !important;
    height: 2000px !important;
    overflow: auto;
    max-height: 600px;
  }
  .el-scrollbar {
    margin-top: 0px !important;
  }
  .view-container {
    margin: 0px 0px 0px 30px !important;
    padding: 0px 10px 70px 0px !important ;
    .info-container {
      margin: 0px auto 20px auto !important;
      .info-title {
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 14px !important;
        color: #606266;
        position: relative;
        left: 10px;
        height: 18px;
        line-height: 18px;
        &::before {
          content: '';
          position: absolute;
          width: 5px;
          height: 18px;
          background-color: #126cff;
          left: -10px;
          top: 0px;
        }
        .titleTips {
          position: absolute;
          left: 61px;
          top: 50%;
          display: flex;
          align-items: center;
          font-size: 12px;
          transform: translateY(-50%);
          color: #606266;
          .el-icon {
            color: goldenrod;
            font-size: 18px;
          }
          a {
            color: #29d;
          }
        }
      }
      // 表单校验时 校验消息浮动
      .el-descriptions {
        .el-descriptions__label {
          position: relative !important;
          // padding-left: 15px!important;
          &.empty {
            background: transparent !important;
            border-right: 1px solid #fff !important;
          }
        }
        .el-form-item {
          margin-bottom: 0px !important;
          &.is-error {
            top: -6px !important;
            position: relative !important;
          }
        }
      }
      .el-descriptions__label {
        width: 200px !important;
      }
    }
  }
  .btns {
    position: fixed !important;
    top: 122px !important;
    right: 30px !important;
    z-index: 100 !important;
  }
  .btn-group {
    position: absolute !important;
    right: 0px !important;
    z-index: 99 !important;
    padding: 10px 0 !important;
    margin: 10px 0 0 0 !important;
    bottom: 0px !important;
    width: 100% !important;
    background-color: #fff !important;
    text-align: center!important;
    // box-shadow: 0 -2px 7px -4px #9d9d9d !important
  }
}

// 适用无左侧tab的详情页
.detail-noTab-container.form-container {
  padding: 20px 10px 20px 20px !important;
  height: calc(100% - 40px) !important;
  width: calc(100% - 30px) !important;
  position: relative !important;
  // overflow: auto;
  .tab-content {
    padding: 0px !important;
    height: 2000px !important;
    overflow: auto;
    max-height: 600px;
  }
  .el-scrollbar {
    margin-top: 0px !important;
  }
  .view-container {
    margin: 0px 0px 0px 0px !important;
    padding: 0px 10px 70px 0px !important ;
    .info-container {
      margin: 0px auto 20px auto !important;
      .info-title {
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 14px !important;
        color: #606266;
        position: relative;
        left: 10px;
        height: 18px;
        line-height: 18px;
        &::before {
          content: '';
          position: absolute;
          width: 5px;
          height: 18px;
          background-color: #126cff;
          left: -10px;
          top: 0px;
        }
        .titleTips {
          position: absolute;
          left: 61px;
          top: 50%;
          display: flex;
          align-items: center;
          font-size: 12px;
          transform: translateY(-50%);
          color: #606266;
          .el-icon {
            color: goldenrod;
            font-size: 18px;
          }
          a {
            color: #29d;
          }
        }
      }
      .el-descriptions__label {
        width: 200px !important;
      }
      // 表单校验时 校验消息浮动
      .el-descriptions {
        .el-descriptions__label {
          position: relative !important;
          // padding-left: 15px!important;
          &.empty {
            background: transparent !important;
            border-right: 1px solid #fff !important;
          }
        }
        .el-form-item {
          margin-bottom: 0px !important;
          &.is-error {
            top: -6px !important;
            position: relative !important;
          }
        }
      }
    }
  }
  .btns {
    position: fixed !important;
    top: 122px !important;
    right: 30px !important;
    z-index: 100 !important;
  }
  .btn-group {
    position: absolute !important;
    right: 0px !important;
    z-index: 99 !important;
    padding: 10px 0 !important;
    margin: 10px 0 0 0 !important;
    bottom: 0px !important;
    width: 100% !important;
    background-color: #fff !important;
    text-align: center!important;
    // box-shadow: 0 -2px 7px -4px #9d9d9d !important
  }
}

// 适用有列表的详情页
.page .detail-container {
  .btn-group {
    position: fixed !important;
    text-align: center;
    padding: 10px 0 !important;
    width: calc(100% - 240px) !important;
    left: 230px;
    bottom: 10px !important;
    background-color: #fff !important;
  }
}

// 详情页审批-审批记录等按钮样式
.approveBtn {
  background-color: #fff;
  border: 1px solid #087CD6;
  color: #087CD6;
  &:hover {
    background-color: #087CD6;
    color: #fff;
    border: none;
  }
}
